import { Component } from '@angular/core';
import { RouterOutlet } from '@angular/router';
import { TuiRoot } from '@taiga-ui/core';
import { TimerDialogService } from './services/dialog.service';
@Component({
  selector: 'app-root',
  standalone: true,
  imports: [RouterOutlet,TuiRoot],
  templateUrl: './app.component.html',
  styleUrl: './app.component.less',
})
export class AppComponent {
  title = 'taigaui-helper';

  constructor(private dialogService: TimerDialogService) {
    this.dialogService.registerScenario({
      key: 'app-example',
      defaultContent: '这是一个对话框示例',
      maxShowPerDay: 3,
      firstPopupInterval: 0.1,
      secondPopupInterval: 0.1,

    })
  }
}
